package name.zhengkeli.cloud.auth

import io.ktor.server.application.*
import io.ktor.server.response.*
import io.ktor.server.routing.*

fun Application.configureStatusService() {
    routing {
        get("/") { handleStatus() }
        get("/status") { handleStatus() }
    }
}

suspend fun RoutingContext.handleStatus() {
    call.respond("Server is running.")
}
